package com.example.my_invitation_service.services.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.my_invitation_service.entity.Users;
import com.example.my_invitation_service.mappers.UsersMapper;
import com.example.my_invitation_service.services.UsersService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.io.Serializable;


/**
* @author Administrator
* @description 针对表【users】的数据库操作Service实现
* @createDate 2024-11-17 22:46:12
*/
@Service
@Slf4j
public class UsersServiceImpl extends ServiceImpl<UsersMapper, Users>
        implements UsersService {

    @Override
    public Users getById(Serializable id) {
        return super.getById(id);
    }



    @Override
    public boolean save(Users entity) {
        log.info("添加用户信息 {}",entity);
        return super.save(entity);
    }

}




